package com.mrguo.dao.bsd;

import com.mrguo.common.dao.MyMapper;
import com.mrguo.entity.bsd.GoodsTempDetail;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("goodsTempDetailMapper")
public interface GoodsTempDetailMapper extends MyMapper<GoodsTempDetail> {

    List<GoodsTempDetail> selectListByTempId(@Param("tempId") Long tempId);

    @Delete("delete from bsd_goods_temp_detail where temp_id = #{tempId}")
    int delByTempId(@Param("tempId") Long tempId);

}